import {Role} from "@/services";
import {EntityId, PageQueryParams, KfTreeNode} from "kf-web-library";



export interface GroupTreeQueryParams {
  parentId?: number;
  timestamp?: string;
  types?: string[];
  ignoreGroupPerm?: boolean;
}

export interface Group {
  id: EntityId;
  parentId?: number;
  name?: string;
  type?: string;
  createTime?: string;
  modifyTime?: string;
  seq?: number;
  description?: string;
  roles?: Role[];
}

export interface Group_Summary {
  //主键
  id?: EntityId;
  //名称
  name?: string;
  description?: string;
}

export interface Group_TreeNode extends Group, KfTreeNode {
  id: EntityId;
  parentsId?: string[];
  parentsName?: string[];
  children?: Group_TreeNode[];
}



